home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softdisk Supreme
/
Softdisk Supreme.iso
/
pc
/
DSK Files
/
0-49
/
SD016a.dsk
/
PAL.92064.WEILER.DEC.82.A.bas
< prev
next >
Wrap
BASIC Source File
|
2003-06-12
|
4KB
|
111 lines
10000 HOME
10010 INVERSE
10020 K$ = "ILLEGAL LINE NUMBERS"
10030 FOR A = 1 TO LEN(K$): HTAB 38: PRINT ":" MID$ (K$,A,1): NEXT
10040 POKE 33,37
10050 NORMAL
10060 HOME
10070 PRINT "EVER WONDER HOW TO PUT ILLEGAL"
10080 PRINT "LINE NUMBERS INTO PROGRAMS?"
10090 PRINT "THIS IS THE EASIEST WAY I KNOW TO DO IT."
10100 PRINT
10110 PRINT "FIRST TYPE IN THE LINE YOU WANT,"
10120 PRINT "USING A VALID LINE NUMBER..."
10130 PRINT
10140 GOSUB 51000
10150 PRINT
10160 PRINT "THE LINE NUMBER IS STORED IN"
10170 PRINT "MEMORY AT LOCATIONS 2051 (LEAST"
10180 PRINT "SIGNIF. BYTE) AND 2052 (MOST)."
10190 PRINT "SO IN THIS LINE..."
10200 PRINT : GOSUB 51000: PRINT
10210 PRINT "100 SHOULD BE THE VALUE IN MEMORY"
10220 PRINT "LOCATION 2051."
10230 PRINT
10240 K$ = "PRINT PEEK(2051)": GOSUB 50000
10250 PRINT "100": GOSUB 53000
10260 GOSUB 52000
10270 HOME
10280 PRINT "LET'S CHANGE 2051."
10290 PRINT
10300 K$ = "POKE 2051,255": GOSUB 50000: GOSUB 53000(93)
10310 PRINT
10320 K$ = "LIST": GOSUB 50000
10330 PRINT
10340 K$ = "255 REM **** CALL 230-4939 ****": PRINT K$: GOSUB 53000
10350 PRINT
10360 PRINT "ILLEGAL NUMBERS ARE POSSIBLE WHEN"
10370 PRINT "YOU CHANGE THE VALUE IN 2052."
10380 PRINT
10390 K$ = "POKE 2052,255": GOSUB 50000: GOSUB 53000
10400 K$ = "LIST": GOSUB 50000: PRINT : PRINT "65535 REM **** CALL 230-4939 ****": GOSUB 53000
10410 GOSUB 52000
10420 HOME
10430 PRINT "AFTER THE LINE IS FINISHED, IT IS"
10440 PRINT "STUCK ONTO THE END OF YOUR APPLESOFT"
10450 PRINT "PROGRAM BY USING 'RENUMBER' FROM THE"
10460 PRINT "DOS 3.3 SYSTEM MASTER DISKETTE."
10470 PRINT
10480 PRINT " 1. SAVE YOUR ILLEGAL LINE NUMBER"
10490 PRINT " TO DISK."
10500 PRINT " 2. RUN RENUMBER"
10510 PRINT " 3. LOAD YOUR ILLEGAL LINE NUMBER"
10520 PRINT " FROM DISK"
10530 PRINT " 4. TYPE";:K$ = "'&H'": GOSUB 50000
10540 PRINT " 5. LOAD THE PROGRAM TO WHICH YOU"
10550 PRINT " WISH TO ADD THE ILLEGAL LINE."
10560 PRINT " 6. TYPE";:K$ = "'&M'": GOSUB 50000
10570 PRINT
10580 PRINT " 7. THERE IS NO STEP 7. YOU'RE DONE"
10590 GOSUB 52000
10600 HOME
10610 PRINT "YOU CAN USE MANY ILLEGALLY NUMBERED"
10620 PRINT "LINES, AND RENUMBER WILL"
10630 PRINT "KEEP THEM IN ORDER FOR YOU."
10640 PRINT "HOWEVER, IF YOU USE THE SAME LINE"
10650 PRINT "NUMBER FOR MORE THAN ONE LINE, EVERY"
10660 PRINT "TIME YOU CYCLE THE PROGRAM THROUGH"
10670 PRINT "RENUMBER THE SEQUENCE OF THE LINES"
10680 PRINT "WILL BE REVERSED AS SHOWN ON THE"
10690 PRINT "NEXT PANEL."
10700 GOSUB 52000
10710 HOME
10720 K$ = "0 REM ** FIRST LINE **": GOSUB 50000: GOSUB 53000
10730 K$ = "&H": GOSUB 50000: GOSUB 53000
10740 K$ = "0 REM ** SECOND LINE **": GOSUB 50000: GOSUB 53000
10750 K$ = "&M": GOSUB 50000: GOSUB 53000
10760 K$ = "LIST": GOSUB 50000
10770 PRINT
10780 PRINT "0 REM *** FIRST LINE ***"
10790 PRINT "0 REM *** SECOND LINE ***"
10800 GOSUB 53000
10810 K$ = "&H": GOSUB 50000: GOSUB 53000
10820 K$ = "&M": GOSUB 50000: GOSUB 53000
10830 K$ = "LIST": GOSUB 50000
10840 PRINT
10850 PRINT "0 REM *** SECOND LINE ***"
10860 PRINT "0 REM *** FIRST LINE ***"
10870 GOSUB 52000
10880 HOME
10890 PRINT "PRESS R TO RE-RUN"
10900 PRINT
10910 PRINT "ANY OTHER KEY TO EXIT."
10920 GOSUB 52000
10930 IF A = 210 THEN RUN
10940 TEXT
10950 PRINT : PRINT CHR$(4)"RUN PAL.MENU"
10960 END
50000 FOR A = 1 TO LEN(K$): PRINT MID$ (K$,A,1);: FOR B = 1 TO 1:C = PEEK(49200): NEXT : FOR C = 1 TO 29: NEXT : NEXT : PRINT : RETURN
51000 K$ = "100 REM **** CALL 230-4939 ****"
51010 GOSUB 50000
51020 RETURN
52000 VTAB 22: HTAB 30: PRINT "KEYPRESS"
52010 POKE 49168,0
52020 K$(1) = "<<<<>>>>":K$(5) = ">>>><<<<":K$(2) = "(((())))":K$(4) = "))))((((":K$(3) = "!!!!!!!!"
52030 FOR Z = 1 TO 5
52040 VTAB 23: HTAB 30
52050 FOR A = 1 TO LEN(K$(Z)): PRINT MID$ (K$(Z),A,1);: NEXT
52060 NEXT Z
52070 A = PEEK(49152): IF A <128 THEN 52030
52080 POKE 49168,0: RETURN
53000 PRINT CHR$(13); CHR$(93);: RETURN